<div class="container">
  <ul class="icon-container">
    <li class="divs" *ngFor="let list of lists;let i=index" (click)="open(i)">
      <div class="icon"><i class="iconfont {{list.src}}"></i></div>
      <span>{{list.name}}</span>
    </li>

  </ul>

  <div class="footer">
    <div class="start" (click)="start()">
      <img src="../../../assets/images/user.png">
    </div>

    <div class="power" *ngIf="state">

      <div class="img"><img src="assets/images/user.png"></div>
      <ul>
        <li (click)="person()">个人信息</li>
        <li (click)="resetPassword()">修改密码</li>
        <li (click)="exit()">退出</li>
      </ul>
    </div>

    <ul class="smallIcon">
      <li class="smallDivs" *ngFor="let list of lists" (click)="open($event)">
        <i class="iconfont"></i>
      </li>
    </ul>
  </div>


  <app-employee></app-employee>
  <app-leaves></app-leaves>
  <app-edit></app-edit>
  <app-release-task></app-release-task>
  <app-attendance></app-attendance>
  <app-mail-list></app-mail-list>
  <app-goods></app-goods>
  <app-otherleaves></app-otherleaves>
  <app-reminder></app-reminder>
  <app-receive-task></app-receive-task>
  <app-person-management></app-person-management>
  <app-password></app-password>
  <app-personal></app-personal>
  <app-plans></app-plans>
  <app-adopt></app-adopt>
  <app-approval></app-approval>
  <app-salary></app-salary>
  <app-clock></app-clock>
  
</div>
